package ph.com.gs3.formalistics.model.vo.application;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import ph.com.gs3.formalistics.global.constants.DynamicallyBoundEventType;

public class DynamicEvent implements Serializable {

	private static final long serialVersionUID = -8693472747438283902L;

	private List<String> eventSourceIdList = new ArrayList<>();

	private String boundToFieldId;
	private String boundByFieldId;

	private DynamicallyBoundEventType eventType;

	// =======================================================================
	// {{

	public List<String> getEventSourceIdList() {
		return eventSourceIdList;
	}

	public void addEventSourceId(String id) {
		eventSourceIdList.add(id);
	}

	public String getBoundToFieldId() {
		return boundToFieldId;
	}

	public void setBoundToFieldId(String boundToFieldId) {
		this.boundToFieldId = boundToFieldId;
	}

	public String getBoundByFieldId() {
		return boundByFieldId;
	}

	public void setBoundByFieldId(String boundByFieldId) {
		this.boundByFieldId = boundByFieldId;
	}

	public DynamicallyBoundEventType getEventType() {
		return eventType;
	}

	public void setEventType(DynamicallyBoundEventType eventType) {
		this.eventType = eventType;
	}

	// }}

}
